<html lang="zh">
<head>
    <meta charset="UTF-8"/>
    <title>blg.controller-ItemController</title>
    <style>

        :root {
            --monospace: "Lucida Console", Consolas, "Courier", monospace;
        }

        #markdown {
            font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Header
        -------------------- */

        #markdown h1, #markdown h2, #markdown h3 {
            cursor: default;
        }

        #markdown h1 {
            margin: 20px 0;
            text-align: center;
        }

        #markdown h2 {
            margin: 16px 0;
            padding-bottom: 8px;
            border-bottom: 1px solid #ddd;
        }

        #markdown h3 {
            position: relative;
            margin: 10px 0;
        }


        #markdown h4 {
            margin: 10px 0;
        }

        /* Text Formating
        -------------------- */

        #markdown p {
            margin: 12px 0;
        }

        #markdown code {
            margin: 0 2px;
            padding: 3px 5px;
            border-radius: 2px;
            color: rgb(236, 90, 22);
            background-color: #eee;
            font-family: var(--monospace);
        }

        /* Horizontal Rule
        -------------------- */

        #markdown hr {
            height: 2px;
            margin: 16px 0;
            border: none;
            background-color: #ccc;
        }

        /* Cites
        -------------------- */

        #markdown blockquote {
            border-left: 4px solid #0eaeec;
            padding: 10px 15px;
            color: #666;
            background-color: #dbf3fd;
        }

        /* Table
        -------------------- */

        #markdown table {
            border-spacing: 0;
            border-collapse: collapse;
        }

        #markdown table th, #markdown table td {
            padding: 6px 12px;
            border: 1px solid #dfe2e5;
        }

        #markdown table tr {
            background-color: #fff;
        }

        #markdown table thead tr, #markdown table tbody tr:nth-child(even) {
            background-color: #f8f8f8;
        }

        /* Code Block
        -------------------- */

        #markdown pre code {
            display: block;
            padding: 16px 20px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: #f8f8f8;
            color: #525252;
            font-size: 14px;
            line-height: 22px;
            white-space: pre;
            overflow-x: auto;
            font-family: var(--monospace);
        }

        /* List
        -------------------- */

        #markdown ul {
            padding-left: 20px;
            list-style-type: disc;
        }

        #markdown ul li {
            margin: 8px 0;
        }

        #markdown ul ul {
            list-style-type: circle;
        }

        #markdown ul ul ul {
            list-style-type: square;
        }

        /* Link
        -------------------- */

        #markdown a {
            color: #0eaeec;
            font-weight: bold;
        }

        /* Image
        -------------------- */

        #markdown img {
            display: block;
            max-width: 100%;
            height: auto;
            margin: 16px auto;
        }
    </style>

    <link rel="stylesheet"
          href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/base16/solarized-light.min.css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
    <script>hljs.highlightAll();</script>
</head>

<body>
<article id='markdown'>
  <h1 id='分页展示商品'>分页展示商品</h1>
<p ></p>
<h2 >请求信息</h2>
<p ></p>
<h3 >请求地址</h3>
<pre><code class="language-json">http://192.168.72.1:8180/item/?page=149&size=632&name=淮解藉耐删弘磺砒刘锋涤熔扫麓疼番菌绝友</code></pre>

<p ></p>
<h3 >请求方法</h3>
<pre><code class="language-json">GET</code></pre>

<p ></p>
<h2 >入参</h2>
<h3 >入参示例 (Postman Bulk Edit)</h3>
<pre><code class="language-json">page:149
size:632
//name:淮解藉耐删弘磺砒刘锋涤熔扫麓疼番菌绝友
</code></pre>

<p ></p>
<h3 >入参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong></th>
<th ><strong>必填</strong></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >page<br/></td>
<td ><strong>long</strong><br/></td>
<td ><strong>是</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >size<br/></td>
<td ><strong>long</strong><br/></td>
<td ><strong>是</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >name<br/></td>
<td ><strong>String</strong><br/></td>
<td >否<br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<h2 >出参</h2>
<h3 >出参示例</h3>
<pre><code class="language-json">{
  "code": 24,
  "data": {
    "records": [
      {
        "id": 577,
        "name": "商品名称65",
        "description": "商品描述66",
        "price": 167.73683286520162,
        "discountPrice": 271.2386936117911,
        "imageUrl": "商品图片URL111",
        "categoryId": 974,
        "stock": 194,
        "sales": 51,
        "status": 733,
        "isDelete": 345,
        "updateTime": "2025-04-24T10:01:04.318+0000",
        "createTime": "2025-04-24T19:01:04.964+0000"
      },
      {
        "id": 577,
        "name": "商品名称65",
        "description": "商品描述66",
        "price": 167.73683286520162,
        "discountPrice": 271.2386936117911,
        "imageUrl": "商品图片URL111",
        "categoryId": 974,
        "stock": 194,
        "sales": 51,
        "status": 733,
        "isDelete": 345,
        "updateTime": "2025-04-24T10:01:04.318+0000",
        "createTime": "2025-04-24T19:01:04.964+0000"
      }
    ],
    "total": 801,
    "size": 925,
    "current": 327,
    "orders": [
      {
        "column": "逝统敏舅枚橇靡览理硫缠檀弊",
        "asc": true
      },
      {
        "column": "逝统敏舅枚橇靡览理硫缠檀弊",
        "asc": true
      }
    ],
    "optimizeCountSql": false,
    "searchCount": true,
    "optimizeJoinOfCountSql": true,
    "maxLimit": 32,
    "countId": "别单站扶睛蝎典朵懒蜡票胖"
  },
  "message": "糕腹涪云窜桔凳人公"
}</code></pre>

<p ></p>
<h3 >出参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong><br/></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >code<br/></td>
<td ><strong>int</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >data<br/></td>
<td ><strong>Page&lt;Item&gt;</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ records<br/></td>
<td ><strong>List&lt;Item&gt;</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ id<br/></td>
<td ><strong>Long</strong><br/></td>
<td >雪花算法ID</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ name<br/></td>
<td ><strong>String</strong><br/></td>
<td >商品名称</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ description<br/></td>
<td ><strong>String</strong><br/></td>
<td >商品描述</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ price<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >商品价格</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ discountPrice<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >折扣价</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ imageUrl<br/></td>
<td ><strong>String</strong><br/></td>
<td >商品图片URL</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ categoryId<br/></td>
<td ><strong>Long</strong><br/></td>
<td >分类ID</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ stock<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >库存数量</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ sales<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >销量</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ status<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >状态(0下架 1上架)</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ isDelete<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >删除标记(0未删除 1已删除)</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ updateTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >更新时间</td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ createTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >创建时间</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ total<br/></td>
<td ><strong>long</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ size<br/></td>
<td ><strong>long</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ current<br/></td>
<td ><strong>long</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ orders<br/></td>
<td ><strong>List&lt;OrderItem&gt;</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ column<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >&ensp;&ensp;&ensp;&ensp;└─ asc<br/></td>
<td ><strong>boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ optimizeCountSql<br/></td>
<td ><strong>boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ searchCount<br/></td>
<td ><strong>boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ optimizeJoinOfCountSql<br/></td>
<td ><strong>boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ maxLimit<br/></td>
<td ><strong>Long</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ countId<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >message<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<p ></p>
<h1 id='根据商品id获取商品'>根据商品id获取商品</h1>
<p ></p>
<h2 >请求信息</h2>
<p ></p>
<h3 >请求地址</h3>
<pre><code class="language-json">http://192.168.72.1:8180/item/{id}?id=909</code></pre>

<p ></p>
<h3 >请求方法</h3>
<pre><code class="language-json">GET</code></pre>

<p ></p>
<h2 >入参</h2>
<h3 >入参示例 (Postman Bulk Edit)</h3>
<pre><code class="language-json">//id:909
</code></pre>

<p ></p>
<h3 >入参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong></th>
<th ><strong>必填</strong></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >id<br/></td>
<td ><strong>Long</strong><br/></td>
<td >否<br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<h2 >出参</h2>
<h3 >出参示例</h3>
<pre><code class="language-json">{
  "code": 893,
  "data": {
    "id": 971,
    "name": "商品名称38",
    "description": "商品描述117",
    "price": 647.1403110057404,
    "discountPrice": 94.3716079390091,
    "imageUrl": "商品图片URL14",
    "categoryId": 393,
    "stock": 256,
    "sales": 40,
    "status": 902,
    "isDelete": 795,
    "updateTime": "2025-04-24T01:59:52.263+0000",
    "createTime": "2025-04-24T03:43:47.529+0000"
  },
  "message": "街叶蔷莆铡祭亥疵存含简吭悼蛙肾喇抚充候"
}</code></pre>

<p ></p>
<h3 >出参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong><br/></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >code<br/></td>
<td ><strong>int</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >data<br/></td>
<td ><strong>Item</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ id<br/></td>
<td ><strong>Long</strong><br/></td>
<td >雪花算法ID</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ name<br/></td>
<td ><strong>String</strong><br/></td>
<td >商品名称</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ description<br/></td>
<td ><strong>String</strong><br/></td>
<td >商品描述</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ price<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >商品价格</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ discountPrice<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >折扣价</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ imageUrl<br/></td>
<td ><strong>String</strong><br/></td>
<td >商品图片URL</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ categoryId<br/></td>
<td ><strong>Long</strong><br/></td>
<td >分类ID</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ stock<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >库存数量</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ sales<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >销量</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ status<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >状态(0下架 1上架)</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ isDelete<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >删除标记(0未删除 1已删除)</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ updateTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >更新时间</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ createTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >创建时间</td>
<td ><br/></td>
</tr>
<tr>
<td >message<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<p ></p>
<h1 id='添加商品'>添加商品</h1>
<p ></p>
<h2 >请求信息</h2>
<p ></p>
<h3 >请求地址</h3>
<pre><code class="language-json">http://192.168.72.1:8180/item/</code></pre>

<p ></p>
<h3 >请求方法</h3>
<pre><code class="language-json">POST</code></pre>

<p ></p>
<h3 >请求体类型</h3>
<pre><code class="language-json">applicatin/json</code></pre>

<p ></p>
<h2 >入参</h2>
<h3 >入参示例 (RequestBody)</h3>
<pre><code class="language-json">{
  "id": 154,
  "name": "商品名称28",
  "description": "商品描述21",
  "price": 220.94824449654578,
  "discountPrice": 920.8165651806046,
  "imageUrl": "商品图片URL39",
  "categoryId": 207,
  "stock": 801,
  "sales": 770,
  "status": 269,
  "isDelete": 391,
  "updateTime": "2025-04-24T03:47:33.356+0000",
  "createTime": "2025-04-24T12:48:29.847+0000"
}</code></pre>

<p ></p>
<h3 >入参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong></th>
<th ><strong>必填</strong></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >id<br/></td>
<td ><strong>Long</strong><br/></td>
<td >否<br/></td>
<td >雪花算法ID</td>
<td ><br/></td>
</tr>
<tr>
<td >name<br/></td>
<td ><strong>String</strong><br/></td>
<td >否<br/></td>
<td >商品名称</td>
<td ><br/></td>
</tr>
<tr>
<td >description<br/></td>
<td ><strong>String</strong><br/></td>
<td >否<br/></td>
<td >商品描述</td>
<td ><br/></td>
</tr>
<tr>
<td >price<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >否<br/></td>
<td >商品价格</td>
<td ><br/></td>
</tr>
<tr>
<td >discountPrice<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >否<br/></td>
<td >折扣价</td>
<td ><br/></td>
</tr>
<tr>
<td >imageUrl<br/></td>
<td ><strong>String</strong><br/></td>
<td >否<br/></td>
<td >商品图片URL</td>
<td ><br/></td>
</tr>
<tr>
<td >categoryId<br/></td>
<td ><strong>Long</strong><br/></td>
<td >否<br/></td>
<td >分类ID</td>
<td ><br/></td>
</tr>
<tr>
<td >stock<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >库存数量</td>
<td ><br/></td>
</tr>
<tr>
<td >sales<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >销量</td>
<td ><br/></td>
</tr>
<tr>
<td >status<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >状态(0下架 1上架)</td>
<td ><br/></td>
</tr>
<tr>
<td >isDelete<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >删除标记(0未删除 1已删除)</td>
<td ><br/></td>
</tr>
<tr>
<td >updateTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >否<br/></td>
<td >更新时间</td>
<td ><br/></td>
</tr>
<tr>
<td >createTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >否<br/></td>
<td >创建时间</td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<h2 >出参</h2>
<h3 >出参示例</h3>
<pre><code class="language-json">{
  "code": 301,
  "data": true,
  "message": "提泞疫昭嫩频堡秘匣骗弯毁削妓殿瘸寨肉偷"
}</code></pre>

<p ></p>
<h3 >出参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong><br/></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >code<br/></td>
<td ><strong>int</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >data<br/></td>
<td ><strong>Boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >message<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<p ></p>
<h1 id='更新商品'>更新商品</h1>
<p ></p>
<h2 >请求信息</h2>
<p ></p>
<h3 >请求地址</h3>
<pre><code class="language-json">http://192.168.72.1:8180/item/{id}?id=767</code></pre>

<p ></p>
<h3 >请求方法</h3>
<pre><code class="language-json">PUT</code></pre>

<p ></p>
<h3 >请求体类型</h3>
<pre><code class="language-json">applicatin/json</code></pre>

<p ></p>
<h2 >入参</h2>
<h3 >入参示例 (RequestBody)</h3>
<pre><code class="language-json">{
  "id": 989,
  "name": "商品名称106",
  "description": "商品描述49",
  "price": 692.7566749943378,
  "discountPrice": 323.7682027547795,
  "imageUrl": "商品图片URL92",
  "categoryId": 404,
  "stock": 79,
  "sales": 106,
  "status": 897,
  "isDelete": 729,
  "updateTime": "2025-04-23T21:17:01.186+0000",
  "createTime": "2025-04-24T02:27:51.839+0000"
}</code></pre>

<p ></p>
<h3 >入参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong></th>
<th ><strong>必填</strong></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >id<br/></td>
<td ><strong>Long</strong><br/></td>
<td >否<br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >product<br/></td>
<td ><strong>Item</strong><br/></td>
<td >否<br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >└─ id<br/></td>
<td ><strong>Long</strong><br/></td>
<td >否<br/></td>
<td >雪花算法ID</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ name<br/></td>
<td ><strong>String</strong><br/></td>
<td >否<br/></td>
<td >商品名称</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ description<br/></td>
<td ><strong>String</strong><br/></td>
<td >否<br/></td>
<td >商品描述</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ price<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >否<br/></td>
<td >商品价格</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ discountPrice<br/></td>
<td ><strong>BigDecimal</strong><br/></td>
<td >否<br/></td>
<td >折扣价</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ imageUrl<br/></td>
<td ><strong>String</strong><br/></td>
<td >否<br/></td>
<td >商品图片URL</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ categoryId<br/></td>
<td ><strong>Long</strong><br/></td>
<td >否<br/></td>
<td >分类ID</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ stock<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >库存数量</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ sales<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >销量</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ status<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >状态(0下架 1上架)</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ isDelete<br/></td>
<td ><strong>Integer</strong><br/></td>
<td >否<br/></td>
<td >删除标记(0未删除 1已删除)</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ updateTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >否<br/></td>
<td >更新时间</td>
<td ><br/></td>
</tr>
<tr>
<td >└─ createTime<br/></td>
<td ><strong>Date</strong><br/></td>
<td >否<br/></td>
<td >创建时间</td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<h2 >出参</h2>
<h3 >出参示例</h3>
<pre><code class="language-json">{
  "code": 656,
  "data": true,
  "message": "眩影夸岁骏蚁氧札竟驭官务端头菇伎急晰伐"
}</code></pre>

<p ></p>
<h3 >出参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong><br/></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >code<br/></td>
<td ><strong>int</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >data<br/></td>
<td ><strong>Boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >message<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<p ></p>
<h1 id='删除商品'>删除商品</h1>
<p ></p>
<h2 >请求信息</h2>
<p ></p>
<h3 >请求地址</h3>
<pre><code class="language-json">http://192.168.72.1:8180/item/{id}</code></pre>

<p ></p>
<h3 >请求方法</h3>
<pre><code class="language-json">DELETE</code></pre>

<p ></p>
<h3 >请求体类型</h3>
<pre><code class="language-json">application/x-www-form-urlencoded</code></pre>

<p ></p>
<h2 >入参</h2>
<h3 >入参示例 (Postman Bulk Edit)</h3>
<pre><code class="language-json">//id:505
</code></pre>

<p ></p>
<h3 >入参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong></th>
<th ><strong>必填</strong></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >id<br/></td>
<td ><strong>Long</strong><br/></td>
<td >否<br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<h2 >出参</h2>
<h3 >出参示例</h3>
<pre><code class="language-json">{
  "code": 755,
  "data": true,
  "message": "殊鄙隧秸筐某荐局噎春瘦"
}</code></pre>

<p ></p>
<h3 >出参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong><br/></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >code<br/></td>
<td ><strong>int</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >data<br/></td>
<td ><strong>Boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >message<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<p ></p>
<h1 id='batchDisable'>batchDisable</h1>
<p ></p>
<h2 >请求信息</h2>
<p ></p>
<h3 >请求地址</h3>
<pre><code class="language-json">http://192.168.72.1:8180/item/batch-disable?ids[0]=496&ids[1]=889</code></pre>

<p ></p>
<h3 >请求方法</h3>
<pre><code class="language-json">POST</code></pre>

<p ></p>
<h3 >请求体类型</h3>
<pre><code class="language-json">applicatin/json</code></pre>

<p ></p>
<h2 >入参</h2>
<h3 >入参示例 (RequestBody)</h3>
<pre><code class="language-json">{
  "ids": [
    917,
    847
  ]
}</code></pre>

<p ></p>
<h3 >入参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong></th>
<th ><strong>必填</strong></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >ids<br/></td>
<td ><strong>List&lt;Long&gt;</strong><br/></td>
<td >否<br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<h2 >出参</h2>
<h3 >出参示例</h3>
<pre><code class="language-json">{
  "code": 537,
  "data": false,
  "message": "贯耳蜀巳愚誊萍悸赫痉"
}</code></pre>

<p ></p>
<h3 >出参字段说明</h3>
<p ></p>
<table>
<tr>
<th ><strong>字段</strong></th>
<th ><strong>类型</strong><br/></th>
<th ><strong>含义</strong></th>
<th ><strong>其他参考信息</strong></th>
</tr>
<tr>
<td >code<br/></td>
<td ><strong>int</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >data<br/></td>
<td ><strong>Boolean</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
<tr>
<td >message<br/></td>
<td ><strong>String</strong><br/></td>
<td ><br/></td>
<td ><br/></td>
</tr>
</table>

<p ></p>
<p ></p>

</article>
</body>
</html>